﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Hongapo_Common;

public partial class sysadmin_Mall_malllist : PageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            BindRepetear();
        }
    }

    private void BindRepetear()
    {
        int PageIndex = TypeConvert.ToInt32(Request["page"], 1);
        DataSet ds = new Hongapo_Services.Mall.Mall().GetList(Pager.PageSize,PageIndex," 1=1 ");
        this.Pager.RecordCount =TypeConvert.ToInt32(ds.Tables[1].Rows[0][0]);
        this.rptList.DataSource = ds.Tables[0];
        this.rptList.DataBind();
    }
}
